import request from "@/utils/request";

export default {
    getTest(data) {
        return request({
            url: '/home/test/',
            method: 'post',
            data: data
        })
    },

    getWeather() {
        return request({
            url: '/home/getweather/',
            method: 'get'
        })
    },

    visit() {
        return request({
            url: '/home/visit/',
            method: 'get'
        })
    },

    getCountData() {
        return request({
            url: '/home/getcountdata/',
            method: 'get'
        })
    },

    getCharts() {
        return request({
            url: '/home/getcharts/',
            method: 'get'
        })
    },

    getCenterScroll() {
        return request({
            url: '/home/getcenterscroll/',
            method: 'get'
        })
    }
}